<template>
	<view class="">
		<view class="status_bar">
		            <!-- 这里是状态栏 -->
		        </view>

	<!-- <view class="pageBox" style="display: none;">
		<view class="singleCell" v-for="(item,index) in wechatNameList" @click="tolinkFun">
			<view class="leftBox">
				<image class="headImg" :src="'../../static/headImg/'+imgFun()+'.jpg'" mode=""></image>
			</view>
			<view class="rightBox">
				<view class="titleBOX">
					<view class="title">
						{{item}}
					</view>
					<view class="timeView">
						2024年12月31日
					</view>
				</view>
				<view class="descView">
					发送的消息{{imgFun()}}
				</view>
			</view>
		</view>
	</view> -->
		</view>
</template>

<script setup>
	// import {wechatNameList} from "../../static/data/contact-data.js"
	
	function imgFun(){
		return 'sj'+getRandomInteger(1,100);
	}
	
	
	function getRandomInteger(min, max) {
	  return Math.floor(Math.random() * (max - min + 1)) + min;
	}
	function tolinkFun(){
		uni.navigateTo({
			url: '/views/anquan'
		});
	}
</script>

<style scoped lang="scss">
	page{
		background-color: #fff;
	}
	.pageBox{
		padding: 0 30rpx;
		.singleCell{
			// height:134rpx;
			display:flex;
			justify-content: space-between;
			align-items: center;
			.rightBox{
				border-bottom: rgba(0,0,0,0.07) solid 1rpx;
				padding: 22rpx 0;
				height: 90rpx;
				flex:1;
				.descView{
					width: 580rpx;
					font-size: 24rpx;
					color: rgba(0,0,0,0.4);
					white-space: nowrap;
					text-overflow: ellipsis;
					overflow: hidden;
					margin-top: 10rpx;
				}
				.titleBOX{
					display:flex;
					justify-content: space-between;
					align-items: center;
					.title{
						flex:1;
						font-size: 32rpx;
						width:300rpx;
						white-space: nowrap;
						text-overflow: ellipsis;
						overflow: hidden;
					}
					.timeView{
						font-size: 24rpx;
						color: rgba(0,0,0,0.4);
						width: 200rpx;
						
					}
				}
			}
			.leftBox{
				width:90rpx;
				height:90rpx;
				min-width: 90rpx;
				overflow: hidden;
				border-radius: 10rpx;
				margin-right:22rpx;
				.headImg{
					width:100%;
					height:100%;
					object-fit: cover;
				}
			}
		}
	}
</style>